package com.ztom.agent.util;

/**
 * @author ZhangTao
 */
public final class TraceAndSpanIdGenerator {

    private static final IdWorker ID_WORKER = new IdWorker(1, 1);

    private TraceAndSpanIdGenerator() {
        // do nothing
    }

    public static String generateId() {
        return String.valueOf(ID_WORKER.nextId());
    }
}
